package com.heima.model.wemedia.pojos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 自媒体子账号信息表
 *
 * @TableName wm_sub_user
 */
@TableName(value = "wm_sub_user")
@Data
public class WmSubUser implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id")
    private Object id;

    /**
     * 主账号ID
     */
    @TableField(value = "parent_id")
    private Object parentId;

    /**
     * 子账号ID
     */
    @TableField(value = "children_id")
    private Object childrenId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}